package com.bw.service.impl;

import com.bw.entity.TbResource;
import com.bw.entity.vo.Group;
import com.bw.mapper.TbResourceMapper;
import com.bw.mapper.TbUserMapper;
import com.bw.service.ITbResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TbResourceServiceImpl extends ServiceImpl<TbResourceMapper, TbResource> implements ITbResourceService {

    @Autowired
    private TbResourceMapper tbResourceMapper;


    @Override
    public List<TbResource> findlist(Map map) {
        return tbResourceMapper.findlist(map);
    }

    @Override
    public List<Group> findListStatus(Map map) {
        return tbResourceMapper.findListStatus(map);
    }
}
